<template>
  <el-table
      :data="props['transInfo']"
      :highlight-current-row="true">
    <el-table-column prop="id" label="序号" width="140"/>
    <el-table-column prop="workId" label="工作编号" width="120"/>
    <el-table-column prop="transDate" label="调动日期" width="140"/>
    <el-table-column prop="inDep" label="新部门编号" width="120"/>
    <el-table-column prop="outDep" label="原部门编号" width="140"/>
    <el-table-column prop="why" label="原由" width="280"/>
    <el-table-column fixed="right"  width="120">
      <template #default="scope">
<!--        <el-button-->
<!--            :icon="Edit"-->
<!--            circle-->
<!--            size="mini"-->
<!--            @click="deleteRow(scope.$index)"-->
<!--            :style="{marginLeft:'12px'}"-->
<!--        >-->
<!--        </el-button>-->
      </template>
    </el-table-column>
  </el-table>
</template>

<script setup>
import {Edit} from '@element-plus/icons'
const props=defineProps(["transInfo","filter"])

</script>

<style scoped>

</style>